<template>
	<view class="content" style="background-color: #f5f5f5;">
		<u-navbar scrollable=false titleStyle="font-size:40rpx;color:#333" :placeholder='true' title="支付设置"
			:autoBack="true">
		</u-navbar>
		<view class="form">
			<view class="li" @click="$my.go('/pages/my/set/changePhone?type=2')" v-if="!is_pwd">
				<text class="fw4">设置6位支付密码</text>
				<u-icon name="arrow-right"></u-icon>
			</view>
			<view class="" v-else>
				<view class="li" @click="$my.go('/pages/my/set/forget?type=3')">
					<text class="fw4">修改6位支付密码</text>
					<u-icon name="arrow-right"></u-icon>
				</view>
				<view class="li" @click="$my.go('/pages/my/set/changePhone?type=2')">
					<text class="fw4">忘记6位支付密码</text>
					<u-icon name="arrow-right"></u-icon>
				</view>
			</view>
		</view>

	</view>
 
</template>



<script>
	export default {
		data() {
			return {
				is_pwd:'', // 是否设置了密码
			}
		},
		onShow() {
			this.is_pwd=uni.getStorageSync('userInfo').is_pay_pwd
		},
		methods: {
		}
	}
</script>

<style lang="scss" scoped>
	.content {
		// border: 2rpx solid #f5f5f5;
			.form{
					
				.li{
					background-color: white;
					display: flex;
					padding: 0 4% 0;
					// padding-bottom: 20rpx;
					height: 100rpx;
					line-height: 100rpx;
					justify-content: space-between;
					border-bottom: 2rpx solid #f6f6f6;
					.input{
						text-align: right;
						line-height: 100rpx;
						height: 100rpx;
					}
				}
			}
	}
</style>
